import request from '@/utils/request'

// 修改状态
export function setStatus(status) {
  return request({
    url: `/user/admin/shop/status/${status}`,
    method: 'post',
    data: status
  })
}

// 获取店铺营业状态
export function getStatus() {
  return request({
    url: '/user/admin/shop/status',
    method: 'get'
  })
}
